package com.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.project.bean.GradeBean;
import com.project.bean.RoleBean;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface IGradeMapper extends BaseMapper<GradeBean> {

    /**
     * 通过角色id集合查询权限
     * @param roleList 角色集合
     * @return 权限id集合
     */
    public List<GradeBean> findByRoleList(Integer[] roleIdArr);


}
